package org.dromara.crawler.mongo.mongodomain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionField;
import com.mongoplus.annotation.collection.CollectionName;
import com.mongoplus.enums.IdTypeEnum;
import lombok.Data;

@Data
@CollectionName(value = "event_event_edges", database = "NEWS")
public class EventEventEdges {

    @ID(type = IdTypeEnum.ASSIGN_ID)
    private String id;

    private String src;

    private String dst;

    private String relation;

    private String edgeType;

    @JsonIgnore
    private String _id;

}
